'use strict';

module.exports = appInfo => {
  const config = exports = {};

  // use for cookie sign key, should change to your own and keep security
  config.keys = appInfo.name + '_1548986460609_5060';

  // add your config here
  config.middleware = [];

  config.hub = {
    gitee: 'https://gitee.com',
    github: 'https://github.com'
  }

  config.jsonp = {
    // whiteList: 'http://localhost:7001',
  }

  return config;
};
